package com.qf.java2103.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.java2103.pojo.Equipment;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EquipmentMapper{

    List<Equipment> selectAll(Long buildingEquipment);

    int updateByPrimaryKey(Equipment equipment);

    int deleteByPrimaryKey(Long id);

    int insert(Equipment equipment);

    Equipment selectById(Long id);

    List<Equipment> selectByName(String name);
}
